package com.qys.livesMall.shop.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 广告表(H2Advertisement)表实体类
 *
 * @author makejava
 * @since 2023-06-28 09:12:47
 */
@Data
@TableName("h2_advertisement")
public class Advertisement  {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    //广告标题
    private String title;
    //广告内容
    private String content;
    //封面
    private String cover;
    //富文本
    private String richText;
    //超链接
    private String hyperlink;
    //状态（1生效，0未生效）
    private Integer adStatus;
    //创建人
    private String createBy;
    //创建时间
    private LocalDateTime createTime;
    //更新人
    private String updateBy;
    //更新时间
    private LocalDateTime updateTime;
    //链接类型
    private Integer type;
    //活动类型
    private Integer activityType;
    //关联活动Id/外链url
    private String activityId;

}

